package com.dk.api;

import com.dk.em.Result;
import com.dk.pojo.SysAutoCodeRule;
import com.dk.pojo.SysAutoCodeRuleExample;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@FeignClient("ktg-cloud-Rcode-service")
public interface RuleCodeAPI {

    //Rule 规则表 mapper
    @GetMapping("coderule/selectByExample")
    List<SysAutoCodeRule> selectByExample(@RequestParam String codename);
}
